import { ref } from "vue"

export const useMenuModal = () => {
    const modalShowFlag = ref(false);

    const handleShowModal = () => {
        modalShowFlag.value = true;
    };

    const handleHideModal = () => {
        modalShowFlag.value = false;
    };

    return {
        modalShowFlag,
        handleShowModal,
        handleHideModal,
    };
}